<!DOCTYPE html>
<html style="min-height: 100%;" lang="zh-cn"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type">
<meta content="text/html; charset=utf-8">
<meta charset="utf-8">
<title>中秋节测试</title>		
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="email=no">
<link rel="stylesheet" type="text/css" href="../../www/Public/Web/css/layout.css">
<link rel="stylesheet" type="text/css" href="../../www/Public/Special/Css/Reunion/reunion.css"/>
<link rel="stylesheet" type="text/css" href="../../www/Public/Special/Css/Invitefriends/csshake.css"/>
<script src="../../www/Public/Home/Js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../www/Public/Special/Js/Reunion/reunion.js" type="text/javascript" charset="utf-8"></script>
<style type="text/css">
	.page{min-height: 480px;}
</style>
<script type="text/javascript">
	window.onload = function(){
		var n =Math.round(Math.random()*8);
		var xurc ='../../www/Public/Special/Img/Reunion/'+ n+'.png'
		document.getElementById('jg0').style.backgroundImage = 'url('+xurc+')';
		
		$(".jg-3").click(function(){
			$(".jg-gz").show();
		});
		$(".jg-gz-2").click(function(){
			$(".jg-gz").hide();
		});
		$(".yd-d").click(function(){
			$(".jg-yd").show();
			$("body").css("overflow","hidden");
		});
		$(".jg-yd").click(function(){
			$(".jg-yd").hide();
			$("body").css("overflow","auto");
		})
	}
</script>
</head>
	<body style="min-height: 480px;overflow: auto;">
		<div id="page-content">
			<div id="jg0" style="background-image: url(../../www/Public/Special/Img/Reunion/0.png);" class="jg0 page">
				<img class="jg-4" src="../../www/Public/Special/Img/Reunion/jg-0-4.png" alt="" />
				<a href="#" class="yd-d"><img class="jg-1" src="../../www/Public/Special/Img/Reunion/jg-0-1.png" alt="" /></a>
				<a href="{:U('Special/reunion')}"><img class="jg-2" src="../../www/Public/Special/Img/Reunion/jg-0-2.png" alt="" /></a>
				<a  class="jg-3">
					<img width="100%" src="../../www/Public/Special/Img/Reunion/jg-0-3.png" alt=""/>
					<img class="jg-3-1 shake-constant shake shake-vertical" src="../../www/Public/Special/Img/Reunion/jg-0-3-1.png" alt=""/>
					<img class="jg-3-2 shake-constant shake shake-vertical" src="../../www/Public/Special/Img/Reunion/jg-0-3-2.png" alt=""/>
				</a>
			</div>
			<div class="jg-yd" style="display: none;">
				<img class="jg-yd-1" class="jg-gz-3" src="../../www/Public/Special/Img/Reunion/yd-1.png" alt=""/>
			</div>
			<div class="jg-gz" style="display: none;min-height: 480px;">
				<div class="jg-gz-1">
					<img width="100%" class="jg-gz-3" src="../../www/Public/Special/Img/Reunion/jg-t.png" alt=""/>
					<img class="jg-gz-2" src="../../www/Public/Special/Img/Reunion/jg-t1.png" alt="" />
				</div>
			</div>
		</div>
		<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
		<script type="text/javascript">
			var share_src = 'http://www.dadijinrong.com/special/reunionj0.html';
			var share_str = "奇葩月饼大作战";
			function jsonpcallback(data) {
				wx.config({
					debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来，若要查看传入的参数，可以在pc端打开，参数信息会通过log打出，仅在pc端时才会打印。
					appId: data.appid, // 必填，公众号的唯一标识
					timestamp: data.timestamp, // 必填，生成签名的时间戳
					nonceStr: data.noncestr, // 必填，生成签名的随机串
					signature: data.signature, // 必填，签名，见附录1
					jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage'] // 必填，需要使用的JS接口列表，所有JS接口列表见附录2
				});

				wx.ready(function () {
					// config信息验证后会执行ready方法，所有接口调用都必须在config接口获得结果之后，config是一个客户端的异步操作，所以如果需要在页面加载时就调用相关接口，则须把相关接口放在ready函数中调用来确保正确执行。对于用户触发时才调用的接口，则可以直接调用，不需要放在ready函数中。
					//分享到朋友圈
					wx.onMenuShareTimeline({
						title: '中秋月饼南北馅er大作战，100元红包在呼唤你！',
						link: share_src,
						imgUrl: 'https://www.dadijinrong.com/Public/weixin/share.png',
						success: function (res) {
							// 用户确认分享后执行的回调函数
						},
						cancel: function (res) {
							// 用户取消分享后执行的回调函数
						}
					});

					wx.onMenuShareAppMessage({
						title: share_str, // 分享标题
						desc: '中秋月饼南北馅er大作战，100元红包在呼唤你！', // 分享描述
						link: share_src,
						imgUrl: 'https://www.dadijinrong.com/Public/weixin/share.png', // 分享图标
						type: '', // 分享类型,music、video或link，不填默认为link
						dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
						success: function () {
							// 用户确认分享后执行的回调函数
						},
						cancel: function () {
							// 用户取消分享后执行的回调函数
						}
					});
				});
			}
		</script>
		<script type="text/javascript" src="https://www.dadijinrong.com/jssdk?jsonpcallback=jsonpcallback"></script>
	</body>
</html>